-
Notifications
You must be signed in to change notification settings - Fork 8.2k
[RFC] Support for libsrtp #99132
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
[RFC] Support for libsrtp #99132
Conversation
|
The following west manifest projects have changed revision in this Pull Request:
⛔ DNM label due to: 1 added project and 1 unreachable repo Note: This message is automatically posted and updated by the Manifest GitHub Action. |
dbc1b8d to
b306393
Compare
add libsrtp to west.yml Signed-off-by: Sayed Naser Moravej <seyednasermoravej@gmail.com>
|
as it uses mbedtls, please make sure that is uses the new psa crypto api, as zephyr is soon switching to https://github.com/Mbed-TLS/mbedtls/releases/tag/mbedtls-4.0.0 where support for the legacy mbedtls api was dropped. |
gule files added so Zephyr RTOS can use libSRTP. Signed-off-by: Sayed Naser Moravej <seyednasermoravej@gmail.com>
b306393 to
d741b64
Compare
An RTPW is added to test the libSRTP module a hardware with a network connectivity should be connected to a PC and run the example as described in the README.rst file. Signed-off-by: Sayed Naser Moravej <seyednasermoravej@gmail.com>
Introduce the first integration of the libSRTP library, providing support for the Secure Real-time Transport Protocol (SRTP). Co-authored-by: Josuah Demangeon <me@josuah.net> Signed-off-by: Sayed Naser Moravej <seyednasermoravej@gmail.com>
d741b64 to
5731c78
Compare
|



This contribution is to add support for SRTP protocol. The original library named libSRTP is developed by Cisco here.
Dependencies for this module are:
libSRTP
mbedTLS
The mbedTLS integration is made by linking its library to the libSRTP. The libSRTP can use different encryption libraries including openSSL, NSS, mbedTLS, etc. As mbedTLS is available for Zephyr RTOS, I used this library.
The original libSRTP needed just a little modification to be used in Zephyr RTOS. Just adding a file
zephyr/module.ymlwith contentcmake-ext: TrueandKconfig-ext: Trueinside it. I pushed the modified repository into my GitHub account.To test the result, for simplicity, I modified rtpw example. To test the sample, I used a PC as a sender/receiver and a Zephyr application as a receiver/sender. The original rtpw sample provided by Cisco only sends/receives text instead of Audio/Image. So, I did the same.
How can I integrate it in Zephyr RTOS as an internal or external module?